package com.api.shopapi.service;

import com.api.shopapi.entity.NursingSchedulingNightItem;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface NursingSchedulingNightItemService {

    int insert(NursingSchedulingNightItem nurseSchedulingNightItem);

    int updateByNurseSchedulingNightItemCode(NursingSchedulingNightItem nurseSchedulingNightItem);

    int deleteByNurseSchedulingNightItemCode(String nurseSchedulingNightItemCode);

    NursingSchedulingNightItem getByNursingSchedulingNightItemCode(String nurseSchedulingNightItemCode);

    List<NursingSchedulingNightItem> getListByNursingSchedulingNightCode(String nursingSchedulingNightCode);

    int deleteByNurseSchedulingNightCode(String nursingSchedulingNightCode);

    NursingSchedulingNightItem getListByNursingSchedulingNightCodeAndNurseAideCode(String nursingSchedulingNightCode, String nurseAideCode);

    NursingSchedulingNightItem getListByNursingSchedulingNightCodeAndNurseCode(String nursingSchedulingNightCode, String nurseCode);
}
